import React from 'react'
import MyTable from  "../pages/MyTable";
import  Mine from  "../pages/Mine"
import  {HashRouter as Router,Switch,Route} from  "react-router-dom"

export default function listRouter() {
    return (
        <Router>
            <Switch>
                <Route path="/list" component={MyTable} exact></Route>
                <Route path="/list/table" component={MyTable} ></Route>
                <Route path="/list/mine" component={Mine} ></Route>
            </Switch> 
        </Router>
    )
}
